<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html >
<html>
<head>
<title>机构列表</title>
<t:base type="jquery,easyui,tools"></t:base>
<script type="text/javascript">
function onDbClick(index,data){
	$("#${bpCodeId}",top.myWindow.document).val(data.bpCode);
	frameElement.api.close();
}
</script>
</head>
<body style="overflow-y: hidden" scroll="no">
	<t:datagrid name="orgList" title="机构列表" actionUrl="zyCommonController.do?queryBpDatagrid" idField="id" onDblClick="onDbClick"
		showRefresh="false" queryMode="group" >
		<t:dgCol title="id" field="id" hidden="true"></t:dgCol>
		<t:dgCol title="机构简称" field="shortname" width="100"	queryMode="single" query="true" ></t:dgCol>
		<t:dgCol title="机构" field="departname" width="300"	queryMode="single" query="true" ></t:dgCol>
		<t:dgCol title="BP" field="bpCode" width="100"	queryMode="single" query="true" ></t:dgCol>
	</t:datagrid>
</body>
</html>
